package com.springboot.framework.dao.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "order_master")
@Data
public class Order {
    @Id
    private String id;

    private Integer shopId;

    private String shopContact;

    private Integer userId;

    private String userWechatOpenid;

    private String userName;

    private String userPhone;

    private String userAddress;

    private String remark;

    private BigDecimal orderAmount;

    /** 优惠券 */
    private Integer userCouponsId;

    /** 优惠券金额 */
    private BigDecimal couponsAmount;

    private BigDecimal payableAmount;

    private Byte orderStatus;

    private Byte payStatus;

    private String createBy;

    private Date createDate;

    private String updateBy;

    private Date updateDate;


}